package com.interactive.internal.ant;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

import junit.extensions.abbot.ScriptTestSuite;

public class AbbotTestSuite extends ScriptTestSuite
{
  public AbbotTestSuite(Class fixtureClass, String[] filenames)
  {
    super(fixtureClass, filenames);
  }

  public boolean accept(File file)
  {
    return acceptFile(file.getAbsolutePath());
  }

  public static List findTestScripts(File dir)
  {
    List files = new ArrayList();
    return findTestScripts(dir, files, true);
  };

  public static boolean acceptFile(String filename)
  {
    return AbbotTestFixture.acceptFile(filename);
  }
}
